/*
 * @Author: lixb
 * @Date: 2020-08-31 10:23:15
 * @LastEditTime: 2020-09-18 18:58:02
 * @Descripttion:第三方应用授权
 */
import axios from '@/utils/axios';

//获取企业微信第三方应用列表
export const queryCorporateWeChatApplicationList = data =>
  axios.post(`/bnd-organization/organization/queryCorporateWeChatApplicationList`, data);

//查询同步状态
export const queryCorporateWeChatSynchronizationStatus = ({ applicationId, organizationId }) =>
  axios.get(
    `/bnd-organization/organization/queryCorporateWeChatSynchronizationStatus/${organizationId}/${applicationId}`
  );
